package org.vectrics.cv;

import java.io.Serializable;

import org.vectrics.common.db.RecordObject;

/**
 * Clase encargada de reprecentar las carreras para un estudio.
 * 
 * @author pgoette
 */
public class Career implements RecordObject, Serializable {

    private static final long serialVersionUID = -4888879472042345653L;

    /** Nombre de la carrera */
    private String career;

    /** id de carrera */
    private Long id;

    public Career() {
    }

    public Career(String career) {
        this.setCareer(career);
    }

    public String getCareer() {
        return this.career;
    }

    public Long getId() {
        return this.id;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return this.getCareer();
    }

}
